package com.geralt.im.protocol;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class Request implements Serializable {
	private static final long serialVersionUID = 3009452905561503863L;
	String type;
	Map<String,Object> parameter;
	
	public Request(){
		parameter = new HashMap<String, Object>();
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public Map<String, Object> getParameter() {
		return parameter;
	}

	public void setParameter(Map<String, Object> parameter) {
		this.parameter = parameter;
	}

	@Override
	public String toString() {
		return "Request [type=" + type + ", parameter=" + parameter + "]";
	}

	
}
